package com.groupbuying.store.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.groupbuying.store.dao.StoreAccountShopRelDao;
import com.groupbuying.store.domain.StoreAccountShopRelDO;
import com.groupbuying.store.service.StoreAccountShopRelService;



@Service
public class StoreAccountShopRelServiceImpl implements StoreAccountShopRelService {
	@Autowired
	private StoreAccountShopRelDao storeAccountShopRelDao;
	
	@Override
	public StoreAccountShopRelDO get(String uuid){
		return storeAccountShopRelDao.get(uuid);
	}
	
	@Override
	public List<StoreAccountShopRelDO> list(Map<String, Object> map){
		return storeAccountShopRelDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return storeAccountShopRelDao.count(map);
	}
	
	@Override
	public int save(StoreAccountShopRelDO storeAccountShopRel){
		return storeAccountShopRelDao.save(storeAccountShopRel);
	}
	
	@Override
	public int update(StoreAccountShopRelDO storeAccountShopRel){
		return storeAccountShopRelDao.update(storeAccountShopRel);
	}
	
	@Override
	public int remove(String uuid){
		return storeAccountShopRelDao.remove(uuid);
	}
	
	@Override
	public int batchRemove(String[] uuids){
		return storeAccountShopRelDao.batchRemove(uuids);
	}
	
}
